package se.slp.test1;

import android.app.Activity;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageButton;

public class SLPTestActivity extends Activity {
    /** Called when the activity is first created. */
	Intent launch_account;
	Intent launch_history;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);    
         
      ImageButton button_start = (ImageButton)findViewById(R.id.button_start);
      ImageButton button_history = (ImageButton)findViewById(R.id.button_history);
 	     
 	  button_start.setOnClickListener (new OnClickListener() 
    	{
    		public void onClick(View v) 
    		{	launch_account = new Intent(getApplicationContext(),CreateAccount.class);  
    			startActivity(launch_account);
    			
    		}
    		
    	});
 	  
 	  
	     
	  button_history.setOnClickListener (new OnClickListener() 
 	{
 		public void onClick(View v) 
 		{	launch_history = new Intent(getApplicationContext(),History.class);  
 			startActivity(launch_history);
 			
			
 		}
 		
 	});
     	
        	
        	    
     
         
        
         
    }// End onCreate
}//End class